﻿using System.Windows;

namespace BingWallpaper.Common.Extensions
{
    internal static class WindowExtensions
    {
        internal static void SetStyle(this Window window, BingWindowDetails details)
        {
            window.Left = details.Left;
            window.Top = details.Top;
            window.Width = details.Width;
            window.Height = details.Height;
            window.WindowStyle = details.WindowStyle;
        }
    }
}